import { Coffee } from "./Coffee";
import { Tea } from "./Tea";
import { Beverage } from "./Beverage";

const coffee = new Coffee();
const tea = new Tea();

function prepareRecipe(beverage: Beverage) {
  beverage.init();
}

prepareRecipe(coffee);
console.log("------------------");
prepareRecipe(tea);
